<%--
  Created by IntelliJ IDEA.
  User: fenglixiong
  Date: 2017/10/2
  Time: 15:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>用户添加</title>
</head>
<body>
<%@include file="../head_include.jsp"%>
<h1>用户管理-<c:if test="${empty param.userId}">添加</c:if><c:if test="${not empty param.userId}">修改</c:if></h1>

<form action="/user/saveOrUpdate.htm" method="post">
    <input type="hidden" name="userId" value="${user.userId}"/><br/>
    用户名：<input type="text" name="userName" value="${user.userName}"/><br/>
    密码：<input type="text" name="passWord" value="${user.passWord}"/><br/>
    信息：<input type="text" name="info" value="${user.info}"/><br/>
    <input type="submit" value="提交"><br/>
</form>

</body>
</html>
